export default ({ app, store }) => {
    app.router.beforeEach((to, from, next) => {
        // console.log(app.router)
        // console.log(to)
        if(!to.query.type){
            store.commit('SET_FROM_PAGE', from.fullPath)
        }
        next()
    });

    app.router.afterEach((to, from, next) => {
    })

}